package ioc

import (
	"gitee.com/DonHz/basic-go/webook/pkg/logger"
	"go.uber.org/zap"
)

func InitLogger() logger.Logger {
	l, err:=zap.NewDevelopment()
	if err!= nil{
		panic(any(err))
	}
	return logger.NewZapLogger(l)
}